package serveur;

public class Barriere extends Coup {
	
	private String orientationBarriere; //H ou V
	private int x;
	private int y;
	
	public Barriere(String orientation,int x,int y) {
		this.orientationBarriere=orientation;
		this.x=x;
		this.y=y;
	}
	
	@Override
	public String toString() {
		return "Barriere [orientationBarriere=" + orientationBarriere + ", x="
				+ x + ", y=" + y + "]";
	}

	public String getOrientationBarriere() {
		return orientationBarriere;
	}

	public void setOrientationBarriere(String orientationBarriere) {
		this.orientationBarriere = orientationBarriere;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

}
